The program codes are used for producing simulation results in the article : Tomonori Sadamoto, Aranya Chakrabortty, Takayuki Ishizaki, and Jun-ichi Imura "Dynamic Modeling, Stability, and Control of Power Systems with Distributed Energy Resources", IEEE Control System Magazine, in Press. 

How to reproduce the results is described in manual.pdf in the zip file. 